<include file="Public:header"/>
<div id="right">
	<div>
		<h2>修改头像</h2>
		<form action="{YICMS::U('User/Index/checkEdit')}" enctype="multipart/form-data" method="post">
			<p>
				<label for="user_avatar">选取头像（200x200，文件大小不得超过2M）</label><br/>
				<input id="user_avatar" name="face" size="30" type="file"/>
			</p>
			<p><input type="submit" value="上传"/></p>
			<h2>修改邮箱</h2>
			<p>
				<label for="user_email">Email</label>
				<label>({YICMS:$_SESSION.email})</label>
				<if condition="empty($_SESSION['checkmail'])">
					<span style="color:red">未激活</span><br/>
				<else />
					<span style="color:blue">已激活</span><br/>
				</if>	
				<input name="email" size="30" type="text"/>
				<br/>
			</p>
			<p><input type="submit" value="修改"></p>
		</form>
	</div>
</div>
<include file="Public:footer"/>